package com.lx.pc.service.supplydemand;

import java.math.BigInteger;

import com.lx.pc.domain.vo.supplydemand.SupplydemandVo;
import com.lx.pc.service.IService;
import com.lx.pc.utils.OmsPage;

public interface ISupplydemandService extends IService<SupplydemandVo, BigInteger>{

	/**
	 * 查询总数
	 */
	public int findBySupplydemandCount(SupplydemandVo supplydemand);
	
	/**
	 * 查询分页
	 */
	public OmsPage<SupplydemandVo> findBySupplydemand(SupplydemandVo supplydemand,Integer page,Integer size);
	/**
	 * 详情查看
	 */
	public SupplydemandVo findBySupplydemandId(BigInteger id);
	
	/**
	 * 小程序查询分页
	 * @param supplydemandEntity
	 * @param page
	 * @param size
	 * @return
	 */
	public OmsPage<SupplydemandVo> findByWxSupplydemand(SupplydemandVo supplydemand,Integer page,Integer size);
	
	/**
	 * 小程序查看详情
	 * @param id
	 * @return
	 */
	public SupplydemandVo findByWxSupplydemandId(BigInteger id);
	
	/**
	 * 修改
	 */
	public String updateSupplydemand(SupplydemandVo supplydemand);
}
